
class FrameController 
{
	def roleImpl;
	
	def index=
	{
		session.userName = "LXH";
		session.orgId = 101;
		redirect(action:'totalPageSpace')	
	}

	def totalPage=
	{
		def menuinfoInstanceList = Menuinfo.findAll("from Menuinfo where pmenu is null order by ordernum");
		return [menuinfoInstanceList:menuinfoInstanceList]
	}
	
	def leftPage = {}
	
	///////////////////////no useful temporarily		
	def topPageTag={}
	def barPage={}	
	def leftNav = {}
	def mainPage={}
	def bottomPage = {}

	def menuPage=
	{ 
		def mList = roleImpl.getFuncWithRole(0);
		return [m1List:mList[0], m2Map:mList[1], m3Map:mList[2]]
	}
	
	def totalPage2 = {}
	def totalPageSpace = {}
	
}